let app = getApp()
Component({
    properties: {
 
      },
      data:{
      
      },
    lifetimes: {
        attached: function () {
          var that=this
          wx.request({
              url: app.globalData.siteroot,
              data: {
                do:'Distribution_getWithdrawMethodList',
                staff_id:wx.getStorageSync('staff_bind_id'),
                distribution_id:wx.getStorageSync('distribution_id')
              },
              success: function(res) {
                var obj = {
                  name:'choose_account_type',
                  cardInfo:res.data.data
                 }
                  that.setData({
                    accountPageInfo:obj
                  }) 
              }
            })
       }
      },
    methods: {
    } 
});
